package com.demo.waimai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 通知信息表
 * </p>
 *
 * @author Helen
 * @since 2020-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Notice对象", description="通知信息表")
public class Notice implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "通知类型")
    private Integer type;

    @ApiModelProperty(value = "需要通知的用户IDs")
    private String userIds;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "消息来源")
    private String from;

    @ApiModelProperty(value = "通知内容")
    private String content;

    @ApiModelProperty(value = "加入时间")
    private Integer addTime;

    @ApiModelProperty(value = "状态")
    private Integer status;


}
